home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 911 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.3 KB

  1. From: haebler@uni-muenster.de
  2. Subject: Re: Path length in GEM file selector
  3. Date: Thu, 20 Jan 1994 18:34:14 +0100 (MEZ)
  4. In-Reply-To: <r_vinymy9q_@moacs11> from "Waldi Ravens" at Jan 20, 94 02:56:10 pm
  5.  
  6. > In <9401201204.AA13974@urix6.uni-muenster.de>, Marcus Haebler wrote:
  7. > Since P1003.1 does not define a maximum length for a path, no application
  8. > should assume that there is one. You'll have to use something more
  9. > flexible than a compile time constant.
  10. > Here is an example with getcwd() :
  11. ...
  12. Quite nice but how does the file selector know the length of the
  13. space the program saved for the path??
  14.  
  15. Uli's idea with the cookie is really good. What about a cookie
  16.  
  17. _PTL <max length of path without the \0 at the end like strlen()>
  18.  
  19. Eric what do you think about this? Any comments or suggestions?
  20. We should also install a cookie for the file name size:
  21.  
  22. _FTL <max length of file name without \0>>
  23.  
  24. Regards,
  25.  
  26. Marcus
  27. ---
  28. **********************************************************************
  29. * Marcus Haebler     *   Internet:  haebler@uni-muenster.de          *
  30. * Althausweg 29      *   You can also contact me via IRC.            *
  31. * 48159 Muenster     *   Drop me a note at Noteserv@service.de       *
  32. * Germany            *   Nickname: D_Gently   (Mostly Harmless)      * 
  33. **********************************************************************
  34.